package com.znsd.zl.browse.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.znsd.zl.browse.entity.TBrowseEntity;
import com.znsd.zl.browse.entity.vo.TBrowseEntityVo;
import com.znsd.zl.utils.R;

import java.util.List;

/**
 * @ClassName TBrowse
 * @Description 描述
 * @author xyx
 * @date 2020-08-22 15:18:00
 * @Version v1.0
 */
public interface TBrowseService extends IService<TBrowseEntity> {

	/**
	 * 按用户Id查询所有足迹
	 * @param entity
	 * @return boolean
	 */
	boolean browseSave(TBrowseEntity entity);

	/**
	 * 按Id查询房源信息
	 * @param id
	 * @return
	 */
	List<TBrowseEntityVo> findByBrowseId(Integer id);

	/**
	 * 查询所有房源信息
	 * @param id
	 * @return
	 */
	R findByHouse(Integer id);

}

